<!DOCTYPE html>
<html lang="zh-cn">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<meta name="renderer" content="webkit">
		<title>添加分类</title>
		<link rel="stylesheet" href="public/admin/css/pintuer.css">
		<link rel="stylesheet" href="public/admin/css/admin.css">
		<script src="public/admin/js/jquery.js"></script>
		<script src="public/admin/js/pintuer.js"></script>
		<script src="public/admin/js/admin.js"></script>
		<link type="image/x-icon" href="http://www.pintuer.com/favicon.ico" rel="shortcut icon" />
		<link href="http://www.pintuer.com/favicon.ico" rel="bookmark icon" />
		<style type="text/css">
			.btn_ding{width:100%;height:40px;	 position: relative; bottom: 0; right:0;}
		</style>
	</head>

	<body>
		<div class="lefter">
			<div class="logo">
				<a href="http://www.pintuer.com" target="_blank"><img src="images/logo.png" alt="后台管理系统" /></a>
			</div>
		</div>
		<div class="righter nav-navicon" id="admin-nav">
			<div class="mainer">
				<div class="admin-navbar">
					<span class="float-right">
                    	<a class="button button-little bg-main" href="#">前台首页</a>
                    	<a class="button button-little bg-yellow" href="login.html">注销登录</a>
                	</span>
					<ul class="nav nav-inline admin-nav">
						<li>
							<a href="index.html" class="icon-home"> 开始</a>
							<ul>
								<li><a href="system.html">系统设置</a></li>
								<li><a href="content.html">内容管理</a></li>
								<li><a href="#">订单管理</a></li>
								<li class="active"><a href="#">会员管理</a></li>
								<li><a href="#">文件管理</a></li>
								<li><a href="#">栏目管理</a></li>
							</ul>
						</li>
						<li  class="active">
							<a href="content.html" class="icon-th-list"> 栏目管理</a>
							<ul>
								<li class="active"><a href="#">栏目列表</a></li>
								<li><a href="#">添加栏目</a></li>
								<li class="active"><a href="#">单页列表</a></li>
								<li><a href="#">添加单页</a></li>
								<li class="active"><a href="#">标签列表</a></li>
								<li><a href="#">添加标签</a></li>						
							</ul>						
						</li>
						<li>
							<a href="content.html" class="icon-th-list"> 内容管理</a>
							<ul>
								<li class="active"><a href="#">内容管理</a></li>
								<li><a href="#">栏目管理</a></li>
								<li><a href="#">标签管理</a></li>
							
							</ul>						
						</li>						
						<!--<li><a href="#" class="icon-shopping-cart"> 订单</a></li>-->
						<li><a href="#" class="icon-user"> 会员管理</a></li>
						<li><a href="#" class="icon-file"> 模版设置</a></li>
						<li><a href="#" class="icon-suitcase" > 扩展工具</a></li>
						<li>
							<a href="system.html" class="icon-cog"> 系统配置</a>
							<ul>
								<li><a href="#">全局设置</a></li>
								<li class="active"><a href="#">系统设置</a></li>
								<li><a href="#">会员设置</a></li>
								<li><a href="#">积分设置</a></li>
							</ul>
						</li>
					</ul>
				</div>
				<div class="admin-bread">
					<span>您好，admin，欢迎您的光临。</span>
					<ul class="bread">
						<li><a href="index.html" class="icon-home"> 开始</a></li>
						<li><a href="content.html">内容</a></li>
						<li>内容管理</li>
					</ul>
				</div>
			</div>
		</div>

		<div class="admin">
			<!-- 设置开始 -->
			<div class="tab">
				<div class="tab-head">
					<strong>添加栏目</strong>
					<ul class="tab-nav">
						<li class="active"><a href="#tab-set">基本设置</a></li>
						<li><a href="#tab-email">模版设置</a></li>
						<li><a href="#tab-upload">静态设置</a></li>						
					</ul>
				</div>
				<div class="tab-body">
				<form method="post" class="form-x" action="" style="width:50%">
					<br />
					<div class="tab-panel active" id="tab-set">
							<div class="form-group">
								<div class="label">
									<label for="sitename">分类名称</label>
								</div>
								<div class="field">
									<input type="text" class="input" id="sitename" name="cate_name" size="50" placeholder="网站名称" data-validate="required:请填写你网站的名称" />
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label for="sitename">所属分类</label>
								</div>
								<div class="field">
									<select class="input" name="cate_pid" ata-validate="required:请选择栏目"> 
										<option value="<?php echo $cate['cate_id']?>"><?php echo $cate['cate_name']?></option>
									</select>
								</div>
							</div>							
							<div class="form-group">
								<div class="label">
									<label for="desc">栏目介绍</label>
								</div>
								<div class="field">
									<textarea rows="5" class="input" placeholder="多行文本框"></textarea>
								</div>
							</div>							

							<div class="form-group">
								<div class="label">
									<label>栏目访问状态</label>
								</div>
								<div class="field">
									<div class="button-group button-group-small radio">
										<label class="button active">
											<input name="" value="yes" checked="checked" type="radio"><span class="icon icon-check"></span> 动态访问</label>
										<label class="button">
											<input name="" value="no" type="radio"><span class="icon icon-check"></span> 静态访问</label>
									</div>
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label>文章访问状态</label>
								</div>
								<div class="field">
									<div class="button-group button-group-small radio">
										<label class="button active">
											<input name="pintuer" value="yes" checked="checked" type="radio"><span class="icon icon-check"></span> 动态访问</label>
										<label class="button">
											<input name="pintuer" value="no" type="radio"><span class="icon icon-check"></span> 静态访问</label>
									</div>
								</div>
							</div>
							<div class="form-group">
								<div class="label">
									<label>导航是否显示</label>
								</div>
								<div class="field">
									<div class="button-group button-group-small radio">
										<label class="button active">
											<input name="pintuer" value="yes" checked="checked" type="radio"><span class="icon icon-check"></span> 显示</label>
										<label class="button">
											<input name="pintuer" value="no" type="radio"><span class="icon icon-check"></span> 不显示</label>
									</div>
								</div>
							</div>	
							
						
					</div>
					<div class="tab-panel" id="tab-email">邮件设置</div>
					<div class="tab-panel" id="tab-upload">上传设置</div>

					<div class="form-button bread btn_ding">
						<button class="button bg-main" type="submit">提交</button>
					</div>
					</form>
				</div>

			</div>
			<!-- 设置结束 -->
		</div>

	</body>

</html>